package com.hyhy.hycloud.uaa;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Xuegui Yuan
 * @date 2019-02-26
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "uaa.security")
public class SecurityProperties {

    /**
     * 开启TFA双重认证
     */
    private boolean enableTfa = false;

    /**
     * session超时时间
     */
    private int maxInactiveInterval = 3600;
}
